Fix a problem that was caused by recent changes to the xenbus's
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 6 Apr 2006 08:39:30 +0000 (09:39 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 6 Apr 2006 08:39:30 +0000 (09:39 +0100)
commit0773e2a340786190f61b1a9f3f9bb651ba7a377e
tree8560f6721fcb34d98b2e45943c223d02b8e573ce
parentbe7f264bdce1fbfea9df1a4bb89281556d2295f3
Fix a problem that was caused by recent changes to the xenbus's
behavior that cause the .remove function not to be called anymore
during suspend. Due to that the driver allocated one more interrupt on
every suspend/resume cycle.  Otherwise some code reformatting,
cleanups and improvements on allocation and freeing of data structure.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c